package com.cskaoyan.service;


import com.cskaoyan.module.bean.User;
import com.cskaoyan.module.bean.UserData;
import com.cskaoyan.module.bean.param.BaseParam;
import com.cskaoyan.module.bean.vo.*;
import com.cskaoyan.module.pojo.MarketUser;

public interface UserService {
    DashboardVo dashboard();

    // UserData selectUser(BaseParam param);

    UserData selectUserByParam(BaseParam param, String username, String mobile);

    MarketUser selectUserById(Integer id);

    int updateUser(MarketUser marketUser);

    AddressData selectAddress(BaseParam param, String name, Integer userId);

    CollectData selectCollect(BaseParam baseParam, Integer userId, Integer valueId);

    FootprintData selectFootprint(BaseParam baseParam, Integer userId, Integer goodsId);

    HistoryData selectHistory(BaseParam baseParam, Integer userId, String keyword);

    FeedbackData selectFeedbackList(BaseParam baseParam, String username, Integer id);
}
